for /f %%i in ('dir /b "*.proto"') do (
    call build.bat %%i
)